home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / graphics / canvasdm.lzh / MANUAL.LZH / MAN_37 < prev    next >
Text File  |  1990-06-22  |  5KB  |  167 lines

  1.              File Formats
  2.  
  3.                Overview
  4.     Canvas supports 14 different file
  5. formats some of which are standard and
  6. are used by other packages and others
  7. which are non-standard. The following
  8. descriptions are of the actual formats
  9. in which each of them is stored on the
  10. disk.
  11.  
  12.  
  13.      Compact Picture Format (.CPT)
  14.      -----------------------------
  15.     This format saves the current work
  16. screen onto disk along with the current
  17. palette using a format which saves
  18. considerable disk space. For this
  19. reason it is advised that you use this
  20. picture format while working with
  21. Canvas.
  22. Format:  Palette data - #16 words
  23. $0rgb
  24.          Resolution 0 to 2 #1 words
  25.          Group Raster List - Number of
  26. similar rasters .word (-1=end)
  27.                              Position
  28. of 1st .word (raster index)
  29.                              Raster
  30. data #8bytes(lo),#4(med),#2(hi)
  31.          Single Raster List - Raster
  32. data (as above)
  33.  
  34.  
  35.      Canvas Picture Format (.CNV)
  36.      ----------------------------
  37.     This is very similar to the Degas
  38. format except for the way the palette
  39. is arranged. It may be more convenient
  40. if you want to load a picture from
  41. certain languages such as Fast BASIC.
  42. Format:  Palette data - Red, Green,
  43. Blue (3 bytes) #16 colours
  44.          Screen data - 32000 bytes
  45.  
  46.        IMG Picture Format (.IMG)
  47.        -------------------------
  48.     This format simply consists of the
  49. 32000 byte screen.
  50.  
  51.  
  52.    Degas Picture Format (.PI1>.PI3)
  53.    --------------------------------
  54.     This is the file format which is
  55. used by the popular Degas art package:
  56. Format:  Resolution .word
  57.          Palette data - #16 words
  58. $0rgb
  59.          Screen data - 32000 bytes
  60.  
  61.  
  62.        Neo Picture Format (.NEO)
  63.        -------------------------
  64.     This is the picture format used by
  65. the standard drawing program NeoChrome.
  66. Format:  #4 Bytes - leave 0
  67.          Palette data - #16 words
  68.          #92 Bytes - leave 0
  69.          #32000 bytes picture data
  70.  
  71.        
  72.          Palette Format (.PAL)
  73.          ---------------------
  74.     This file format contains just the
  75. data for one palette.
  76. Format:  Red, Green, Blue (3 bytes) #16
  77. colours
  78.  
  79.  
  80.         Sequence Format (.SEQ)
  81.         ----------------------
  82.     All of the Animation information
  83. and Grid sizes are stored in this type
  84. of file.
  85. Format:  Sequence on/off data (0 or 1)
  86. #32 .words
  87.          Delay data #32 .words
  88.          Repeat data #32 .words
  89.          Start image data #32 .words
  90.          End image data #32.words
  91.          Size image data (0 to 7 grid
  92. size index) #32 .words
  93.          Screen data #32 .words
  94.          BackTrack data (0 or 1) #32
  95. .words
  96.          All 8 Grid Widths #8 .words
  97.          All 8 Grid Heights #8 .words
  98.  
  99.  
  100.      1 Colour Fill Patterns (.1CP)
  101.      -----------------------------
  102.     This format stores all 8 of the 1
  103. colour user-defineable fill patterns.
  104. Format:  256 bytes = 32 bytes per
  105. pattern (8 patterns)
  106.  
  107.  
  108.     16 Colour Fill Patterns (.PAT)
  109.     ------------------------------
  110.     This format stores all 8 of the 16
  111. colour user-defineable fill patterns.
  112. Format:  1024 bytes = 128 bytes per
  113. pattern (8 patterns)
  114.  
  115.  
  116.           Line Pattern (.LIN)
  117.           -------------------
  118.     This format stores only one of the
  119. 8 line patterns defined on the Line
  120. Specbox.
  121. Format:  1 .word = each bit represents
  122. 1 dot in the pattern.
  123.  
  124.  
  125.      Sprite Pattern Format (.SPR)
  126.      ----------------------------
  127.     This stores all 16 sprite
  128. patterns.
  129. Format:  512 bytes = 32 bytes per
  130. pattern (16 patterns)
  131.  
  132.  
  133.             3D Format (.3D)
  134.             ---------------
  135.     All 8 objects are stored in this
  136. type of file.
  137. Format:  24576 bytes used altogether:
  138.          Start X, End X>.word
  139. each*256(lines)*8(objects)=4096 bytes
  140.          Start Y, End Y (as above)
  141.          Start Z, End Z (as above)
  142.  
  143.  
  144.           HBLs Format (.HBL)
  145.           ------------------
  146.     This format stores all the HBLs
  147. which are currently set. Note that only
  148. 1 HBL list can be stored in memory at
  149. once and must be shared between all the
  150. work screens.
  151. Format:  100 .words (50 actually used
  152. in colr modes=200 scan lines)
  153.          each .word = #palette OR
  154. #-1=no change on that scan line
  155.          each .word = represents every
  156. forth scan line
  157.  
  158.  
  159.           Grid Format (.GRD)
  160.           ------------------
  161.     This format stores the 8 grid
  162. sizes. Note that the Sequence format
  163. also stores the same information along
  164. with the rest of it's data.
  165. Format:  8 .words = All 8 Widths
  166.          8 .words = All 8 Heights
  167.